package com.group3.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @ClassName StudentWorkDetails
 * @Author jt-sinlio
 * @Time 2021/6/7 14:34
 **/
//
@Data
@ToString
@ApiModel(value = "作业发布情况列表")
public class StudentWork {

    @ApiModelProperty(value = "作业id")
    private Integer workId;

    @ApiModelProperty(value = "作业下发时间")
    private Date releaseTime;

    @ApiModelProperty(value = "课程id")
    private int lessonId;

    @ApiModelProperty(value = "课程名")
    private String lessonName;

    @ApiModelProperty(value = "作业主题")
    private String workTheme;

    @ApiModelProperty(value = "作业类型")
    private int type;

    @ApiModelProperty(value = "责任教师姓名")
    private String teacherName;

    @ApiModelProperty(value = "计划完成时间")
    private Date datetime;

    @ApiModelProperty(value = "实际提交时间")
    private Date submit_time;

//    提交情况(0：未提交；1：已保存；2：按时提交；3：延期提交)
    @ApiModelProperty(value = "提交情况")
    private int state;

    @ApiModelProperty(value = "得分")
    private float score;
}
